package cn.mzcode.xyzpfuwuduan.vo;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class CollectionVo {

    private String positionName;
    private String salary;
    private String workpalce;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date times;
    private String type;

    public CollectionVo(String positionName, String salary, String workpalce, Date times, String type) {
        this.positionName = positionName;
        this.salary = salary;
        this.workpalce = workpalce;
        this.times = times;
        this.type = type;
    }

    public String getPositionName() {
        return positionName;
    }

    public void setPositionName(String positionName) {
        this.positionName = positionName;
    }

    public String getSalary() {
        return salary;
    }

    public void setSalary(String salary) {
        this.salary = salary;
    }

    public String getWorkpalce() {
        return workpalce;
    }

    public void setWorkpalce(String workpalce) {
        this.workpalce = workpalce;
    }

    public Date getTimes() {
        return times;
    }

    public void setTimes(Date times) {
        this.times = times;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public CollectionVo() {
    }
}
